export default {
  common: {
    unknown: "Unknown",
    loading: "Loading...",
    confirm: "Confirm",
    cancel: "Cancel",
    enabled: "Enabled",
    disabled: "Disabled",
    back: "Back",
    backToTop: "Back to Top",
    close: "Close",
    required: "Please fill in required fields",
    noPermission: "No permission for this feature, please contact administrator",
    contactAdmin: "Contact Administrator",
    permissionDenied: "Permission Denied",
    actions: "Actions",
    selectOption: "Please select",
    pleaseSelect: "Please select",
    pagination: {
      previousPage: "Previous",
      nextPage: "Next",
      pageInfo: "{current}/{total}",
      showingRange: "Showing {start} to {end} of {total} results",
      searchResults: 'Search "{term}": {start} to {end} of {total} results',
      pageSize: "Per page",
      firstPage: "First Page",
      lastPage: "Last Page",
      ariaLabel: "Pagination Navigation",
      srFirstPage: "First Page",
      srPreviousPage: "Previous Page",
      srNextPage: "Next Page",
      srLastPage: "Last Page",
    },
    errorToast: {
      defaultTitle: "Operation Failed",
      close: "Close",
      srClose: "Close",
    },
    dialogs: {
      confirm: "Confirm",
      cancel: "Cancel",
      processing: "Processing...",
      requiredField: "This field is required",
      invalidInput: "Invalid input",
      // Common delete confirmation dialogs
      deleteTitle: "Confirm Delete",
      deleteItem: "Are you sure you want to delete {name}? This action cannot be undone.",
      deleteMultiple: "Are you sure you want to delete {count} selected items? This action cannot be undone.",
      deleteButton: "Delete",
      // Common warning dialogs
      warningTitle: "Warning",
      // Common cleanup dialogs
      cleanupTitle: "Confirm Cleanup",
      cleanupExpired: "Are you sure you want to clean up all expired items? This action cannot be undone.",
      cleanupButton: "Clean Up",
      // Common reset dialogs
      resetTitle: "Confirm Reset",
      resetConfirm: "Are you sure you want to reset to default settings? Current settings will be lost.",
      resetButton: "Reset",
      selectUpload: {
        title: "Select Upload to Resume",
        description: "Found {count} resumable uploads, please select one to continue:",
        recommended: "Recommended",
        matchScore: "Match {score}%",
        partsInfo: "{count}/{total} parts",
        partialComplete: "Partially complete",
        atLeastParts: "At least {count} parts",
        progressInfo: "{percentage}% ({uploaded}/{total}MB)",
        copyIdTooltip: "Click to copy full ID: {id}",
        uploadIdCopied: "Upload ID copied to clipboard",
        copyFailed: "Copy failed",
        reupload: "Re-upload",
        resumeSelected: "Resume Selected Upload",
      },
    },
  },
  app: {
    title: "CloudPaste",
  },
  pageTitle: {
    // Main page subtitles (for dynamic composition)
    homeSubtitle: "Online Clipboard",
    uploadSubtitle: "File Upload",
    pasteViewSubtitle: "View Share",
    fileViewSubtitle: "File Preview",
    mountExplorerSubtitle: "Mount Explorer",
    notFoundSubtitle: "Page Not Found",
    // Admin module titles
    adminModules: {
      dashboard: "Dashboard",
      textManagement: "Text Management",
      fileManagement: "File Management",
      storageConfig: "Storage Management",
      mountManagement: "Mount Management",
      fsMetaManagement: "Meta Management",
      keyManagement: "Key Management",
      settings: "System Settings",
      globalSettings: "Global Settings",
      previewSettings: "Preview Settings",
      accountSettings: "Account Management",
      webdavSettings: "WebDAV Settings",
      siteSettings: "Site Settings",
      backup: "Backup",
      tasks: "Task Management",
    },
  },
  nav: {
    home: "Home",
    upload: "File Upload",
    mountExplorer: "Mount Explorer",
    admin: "Admin Panel",
    menu: "Main Menu",
  },
  theme: {
    toggle: "Toggle theme",
    light: "Light mode",
    dark: "Dark mode",
    auto: "Auto mode",
  },
  textPreview: {
    loadingHighlight: "Loading code highlighting...",
    loadingEditor: "Loading editor...",
    loadingMarkdown: "Rendering Markdown...",
    fallbackEditor: "Editor failed to load, using simple text editor...",
    markdownRenderFailed: "Markdown rendering failed",
    editorInitFailed: "Editor initialization failed",
  },
  language: {
    toggle: "Toggle language",
    zh: "中文",
    en: "English",
  },
};
